package api

import (
	"gin_study_blog/api/adverts_api"
	"gin_study_blog/api/articles_api"
	"gin_study_blog/api/chat_api"
	"gin_study_blog/api/comment_api"
	"gin_study_blog/api/data_api"
	"gin_study_blog/api/digg_api"
	"gin_study_blog/api/log_api"
	"gin_study_blog/api/menus_api"
	"gin_study_blog/api/message_api"
	"gin_study_blog/api/new_api"
	"gin_study_blog/api/settings_api"
	"gin_study_blog/api/tags_api"
	"gin_study_blog/api/uploads_api"
	"gin_study_blog/api/user_api"
)

// ApiGroup 统一存放接口
type ApiGroup struct {
	SettingsApi    settings_api.SettingsApi
	ImageUploadApi uploads_api.UploadsApi
	AdvertsApi     adverts_api.AdvertsApi
	MenusApi       menus_api.MenusApi
	UserApi        user_api.UserApi
	TagsApi        tags_api.TagsApi
	MessageApi     message_api.MessageApi
	ArticlesApi    articles_api.ArticlesApi
	DiggApi        digg_api.DiggApi
	CommentApi     comment_api.CommentApi
	NewApi         new_api.NewApi
	ChatApi        chat_api.ChatApi
	LogApi         log_api.LogApi
	DataApi        data_api.DataApi
}

// ApiGroupApp 实例化对象
var ApiGroupApp = new(ApiGroup)
